/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.xy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 打印模板明细 实体类
 */
@Data
@TableName("ef_print_template_detail")
@ApiModel(value = "PrintTemplateDetail对象", description = "打印模板明细")
@EqualsAndHashCode(callSuper = true)
public class PrintTemplateDetailEntity extends TenantEntity {

	/**
	 * 打印模板id
	 */
	@ApiModelProperty(value = "打印模板id")
	private Integer printTemplateId;
	/**
	 * 字段
	 */
	@ApiModelProperty(value = "字段")
	private String field;
	/**
	 * 字段值
	 */
	@ApiModelProperty(value = "字段值")
	private String value;
	/**
	 * 旋转
	 */
	@ApiModelProperty(value = "旋转")
	private Double rotate;
	/**
	 * 字体大小
	 */
	@ApiModelProperty(value = "字体大小")
	private Double size;
	/**
	 * 0不加粗 1加粗
	 */
	@ApiModelProperty(value = "0不加粗 1加粗")
	private Integer thickening;
	/**
	 * 0不倾斜 1倾斜
	 */
	@ApiModelProperty(value = "0不倾斜 1倾斜")
	private Integer tilt;
	/**
	 * 0不加下划线 1加下划线
	 */
	@ApiModelProperty(value = "0不加下划线 1加下划线")
	private Integer underline;
	/**
	 * 1文本靠左对齐 2文本居中3文本靠右
	 */
	@ApiModelProperty(value = "1文本靠左对齐 2文本居中3文本靠右")
	private Integer textToLcr;
	/**
	 * 上边距
	 */
	@ApiModelProperty(value = "上边距")
	private Double topSize;
	/**
	 * 左边距
	 */
	@ApiModelProperty(value = "左边距")
	private Double leftSize;
	/**
	 * 0不自动换行 1自动换行
	 */
	@ApiModelProperty(value = "0不自动换行 1自动换行")
	private Integer autoLinefeed;
	/**
	 * 最大长度
	 */
	@ApiModelProperty(value = "最大长度")
	private Double maxLength;
	/**
	 * 打印范围宽
	 */
	@ApiModelProperty(value = "打印范围宽")
	private Double printRangeWidth;
	/**
	 * 打印范围高
	 */
	@ApiModelProperty(value = "打印范围高")
	private Double printRangeHeight;
	/**
	 * 字体
	 */
	@ApiModelProperty(value = "字体")
	private String typeFace;
	/**
	 * 前缀
	 */
	@ApiModelProperty(value = "前缀")
	private String prefixField;

}
